{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from matplotlib.pylab import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'1.5.1'"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import matplotlib\n",
    "\n",
    "matplotlib.__version__"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "x = linspace(0,10,9)\n",
    "y = randn(9)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(array([  0.  ,   1.25,   2.5 ,   3.75,   5.  ,   6.25,   7.5 ,   8.75,  10.  ]),\n",
       " array([ 0.72942939, -1.87287975, -1.65181426,  1.40403636,  2.57161798,\n",
       "        -0.48915728,  1.78377227, -0.59498191, -0.44434416]))"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x,y"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAEACAYAAACnJV25AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAD3tJREFUeJzt3X+sZGddx/H3t6xFfggaDUV6l6IhqzON29KbDFeJOoKE\nBiPFaEz1D7wYNzF4h60QA7QmvRrTKAkxDes/YG0uhKaEYqQoYNuUkaBZphbqFu4p1JC0uyBrQJAQ\nElPg6x9zulmW7t07M2fnzDzzfiWTOXPu2ed8u9l+7jPPc85zIjORJJXjkrYLkCQ1y2CXpMIY7JJU\nGINdkgpjsEtSYQx2SSrMgVkbiIinA58ALq3buysz/2zWdiVJ04kmrmOPiGdm5rcj4mnAvwJvzMzR\nzA1Lkib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W69lTZn4S+Po5u68DdurtHcYXeiykp6p/mtxscxGw3wc+2uL59+Ny4ORZ\nn0+xZMH4pIh4EXA18Kl2K5nYXwN/AizjZNBPAV+NiNvroaR3RcQz2i5qvzLzy8A7gMeBLwHfyMz7\n2q1qKs/LzNMw7uwAz2u5nlnsKzcbD/YL3dBUH3MT8ERm3tH0+fWDIuLZwF3A0XOWgVhoEfFrwOn6\nW0fUr2VyALgG+JvMvAb4NuNhgaUQET/KuLd7BfAC4NkR8bvtVtWIZewkTJSbMy8pcK7MfOVeP4+I\nTcZfrV/e9Lkvgi8BLzzr81q9b2nUX6HvAt6bmR9qu54JvQx4TUS8GngG8CMR8Z7MfF3Lde3XKeBk\nZv57/fkuYJkm4H8V+GJm/g9ARPw98AvAsnXITkfEZZl5ul6B9r/bLmhSk+bmvK+KuZbx1+rXZOb/\nzfPcU3oAeHFEXFFfDXA9sGxXZvwdsJuZt7ZdyKQy88bMfGFm/jTjv/v7lyjUqb/+n4yIQ/WuV7Bc\nk8CPAxsR8cMREYzrX4bJ33O/3d0NbNbbvwcsegfn++qfJjfneh17RDwKXAp8rd51PDPfMLcCplD/\npd7K+JfgbZn5ly2XtG8R8TLgE8DDjL9+JnBjZn6s1cKmEBG/DLw5M1/Tdi2TiIirGE/8/hDwReD1\nmfm/7Va1fxFxM+Nfqk8AnwH+oL6QYCFFxB1AH/hx4DTjpcT/AfgAcJDxjZS/nZnfaKvGvZyn/huZ\nMDe9QUmSCuOj8SSpMAa7JBXGYJekwhjsklQYg12SCmOwS1JhDHZJKozBLkmF+X/gSYFtmn+uAAAA\nAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fef43476cf8>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "scatter(x,y)\n",
    "show()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Global TF Kernel (Python 3)",
   "language": "python",
   "name": "global-tf-python-3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
